package com.example.tms.bean;

import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

/**
 * App司机注册信息
 */
@Table(name = "driver_app")
@Entity
@DynamicInsert
@DynamicUpdate
public class DriverApp {
    @Id
    private String sjid;
    private String sfzh;
    private String xingming;
    private String jiguan;
    private String cun;
    private String jsznjrq;
    private String cyzgznjrq;
    private String mima;
    private String sjhm;
    @Transient
    private String yzm;
    private String sfzzm;
    private String sfzfm;
    private String sjsfzsbsz;
    private String jszzb;
    private String jszfb;
    private String cyzgz1;
    private String cyzgz2;
    private String cyzgz3;
    private String cyzgz4;
    private String cyzgz5;
    private String xinxi;
    private Boolean sfcg;
    private Boolean sfcz;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date lasttime;
    private String shzt;
    private String yuanyin;
    private String shr;
    private String shrq;
    private Boolean sfgrzx;

    public Boolean getSfgrzx() {
        return sfgrzx;
    }

    public void setSfgrzx(Boolean sfgrzx) {
        this.sfgrzx = sfgrzx;
    }

    public String getSjid() {
        return sjid;
    }

    public void setSjid(String sjid) {
        this.sjid = sjid;
    }

    public String getSfzh() {
        return sfzh;
    }

    public void setSfzh(String sfzh) {
        this.sfzh = sfzh;
    }

    public String getXingming() {
        return xingming;
    }

    public void setXingming(String xingming) {
        this.xingming = xingming;
    }

    public String getJiguan() {
        return jiguan;
    }

    public void setJiguan(String jiguan) {
        this.jiguan = jiguan;
    }

    public String getCun() {
        return cun;
    }

    public void setCun(String cun) {
        this.cun = cun;
    }

    public String getJsznjrq() {
        return jsznjrq;
    }

    public void setJsznjrq(String jsznjrq) {
        this.jsznjrq = jsznjrq;
    }

    public String getCyzgznjrq() {
        return cyzgznjrq;
    }

    public void setCyzgznjrq(String cyzgznjrq) {
        this.cyzgznjrq = cyzgznjrq;
    }

    public String getMima() {
        return mima;
    }

    public void setMima(String mima) {
        this.mima = mima;
    }

    public String getSjhm() {
        return sjhm;
    }

    public void setSjhm(String sjhm) {
        this.sjhm = sjhm;
    }

    public String getYzm() {
        return yzm;
    }

    public void setYzm(String yzm) {
        this.yzm = yzm;
    }

    public String getSfzzm() {
        return sfzzm;
    }

    public void setSfzzm(String sfzzm) {
        this.sfzzm = sfzzm;
    }

    public String getSfzfm() {
        return sfzfm;
    }

    public void setSfzfm(String sfzfm) {
        this.sfzfm = sfzfm;
    }

    public String getSjsfzsbsz() {
        return sjsfzsbsz;
    }

    public void setSjsfzsbsz(String sjsfzsbsz) {
        this.sjsfzsbsz = sjsfzsbsz;
    }

    public String getJszzb() {
        return jszzb;
    }

    public void setJszzb(String jszzb) {
        this.jszzb = jszzb;
    }

    public String getJszfb() {
        return jszfb;
    }

    public void setJszfb(String jszfb) {
        this.jszfb = jszfb;
    }

    public String getCyzgz1() {
        return cyzgz1;
    }

    public void setCyzgz1(String cyzgz1) {
        this.cyzgz1 = cyzgz1;
    }

    public String getCyzgz2() {
        return cyzgz2;
    }

    public void setCyzgz2(String cyzgz2) {
        this.cyzgz2 = cyzgz2;
    }

    public String getCyzgz3() {
        return cyzgz3;
    }

    public void setCyzgz3(String cyzgz3) {
        this.cyzgz3 = cyzgz3;
    }

    public String getCyzgz4() {
        return cyzgz4;
    }

    public void setCyzgz4(String cyzgz4) {
        this.cyzgz4 = cyzgz4;
    }

    public String getCyzgz5() {
        return cyzgz5;
    }

    public void setCyzgz5(String cyzgz5) {
        this.cyzgz5 = cyzgz5;
    }

    public Boolean getSfcz() {
        return sfcz;
    }

    public void setSfcz(Boolean sfcz) {
        this.sfcz = sfcz;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public String getXinxi() {
        return xinxi;
    }

    public void setXinxi(String xinxi) {
        this.xinxi = xinxi;
    }

    public Boolean getSfcg() {
        return sfcg;
    }

    public void setSfcg(Boolean sfcg) {
        this.sfcg = sfcg;
    }

    public String getShzt() {
        return shzt;
    }

    public void setShzt(String shzt) {
        this.shzt = shzt;
    }

    public String getYuanyin() {
        return yuanyin;
    }

    public void setYuanyin(String yuanyin) {
        this.yuanyin = yuanyin;
    }

    public String getShr() {
        return shr;
    }

    public void setShr(String shr) {
        this.shr = shr;
    }

    public String getShrq() {
        return shrq;
    }

    public void setShrq(String shrq) {
        this.shrq = shrq;
    }

    @Override
    public String toString() {
        return "DriverApp{" +
                "sjid='" + sjid + '\'' +
                ", sfzh='" + sfzh + '\'' +
                ", xingming='" + xingming + '\'' +
                ", jiguan='" + jiguan + '\'' +
                ", cun='" + cun + '\'' +
                ", jsznjrq='" + jsznjrq + '\'' +
                ", cyzgznjrq='" + cyzgznjrq + '\'' +
                ", mima='" + mima + '\'' +
                ", sjhm='" + sjhm + '\'' +
                ", yzm='" + yzm + '\'' +
                ", sfzzm='" + sfzzm + '\'' +
                ", sfzfm='" + sfzfm + '\'' +
                ", sjsfzsbsz='" + sjsfzsbsz + '\'' +
                ", jszzb='" + jszzb + '\'' +
                ", jszfb='" + jszfb + '\'' +
                ", cyzgz1='" + cyzgz1 + '\'' +
                ", cyzgz2='" + cyzgz2 + '\'' +
                ", cyzgz3='" + cyzgz3 + '\'' +
                ", cyzgz4='" + cyzgz4 + '\'' +
                ", cyzgz5='" + cyzgz5 + '\'' +
                ", xinxi='" + xinxi + '\'' +
                ", sfcg=" + sfcg +
                ", sfcz=" + sfcz +
                ", lasttime=" + lasttime +
                ", shzt='" + shzt + '\'' +
                ", yuanyin='" + yuanyin + '\'' +
                ", shr='" + shr + '\'' +
                ", shrq='" + shrq + '\'' +
                '}';
    }
}
